package br.panthro.media.sound
{
	import flash.events.Event;
	
	public class SoundEvent extends Event
	{
		public static const LOAD_ERROR:String = "SoundLoadError";
		public static const LOAD_COMPLETE:String = "SoundLoadComplete";
		public static const SOUND_PLAYING:String = "SoundPlaying";
		public static const SOUND_PAUSED:String = "SoundPaused";
		public static const SOUND_STOPPED:String = "SoundStopped";
		public static const SOUND_REWIND:String = "SoundRewind";
		public static const SOUND_SEEK:String = "SoundSeek";
		
		public function SoundEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
		public override function clone():Event
		{
			return new SoundEvent(type, bubbles, cancelable);
		}
		
		public override function toString():String
		{
			return formatToString("SoundEvent", "type", "bubbles", "cancelable", "eventPhase");
		}
	}
}